package com.wss.day04.test02;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/22
 */
public class TestSalary {
    public static void main(String[] args) {
        Employee emp = new Employee("张三", "武汉", "E1001", 8000.0, 3);

        Manager mgr = new Manager("李四", "芜湖", "M2001", 15000.0, 5, "高级经理");

        System.out.println("涨薪前信息");
        System.out.println(emp);
        System.out.println(mgr);

        emp.addSalary();
        mgr.addSalary();

        System.out.println("涨薪后信息");
        System.out.println(emp);
        System.out.println(mgr);
    }
}
